* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul{
    list-style-type: none;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    flex-wrap: wrap;
}

header h1 {
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

.publish-btn,
.login-up {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;

}

.user-icon {
    width: 24px;
    height: 24px;
    margin-left: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-container {
    display: flex;
    margin-right: 1rem;
}

#header-search {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

#header-search-btn {
    background-color: #f1f3f5;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 4px 4px 0;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-search-btn:hover {
    background-color: #e9ecef;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 24px;
    height: 24px;
    color: #666;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
}

@media (max-width: 768px) {
    .recipe-lists .container {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

.login-up {
    margin-left: 20px;
}

.user-icon-img,
.user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;

}


.Loginlist {
    width: 116px;
    background: #FFFFFF;
    box-shadow: 0 2px 12px 0 rgba(175, 187, 204, 0.75);
    border-radius: 6px;
    position: absolute;
    padding: 6px 0;
    height: 110px;
    display: none;

}


.Loginlist li {
    width: 100%;
    height: 48px;
}

.Loginlist li a {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-size: 14px;
    color: #646873;
    text-decoration: none;
}

.Loginlist li a:hover {
    background: #F5F8FB;
    color: #3B90FF;
}

.Loginlist li a i {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 8px;
}

.Loginlist {
    position: absolute;
}



.Loginlist-ico{
    height: 20px;
    width: 20px;
}